<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style type="text/css">
		*{
			padding: 0px;
			margin: 0px;
		}
		li{
			list-style: none;
		}
		.out{
			width:1204px; 
			height: 260px; 
			background: red url() 0 0 no-repeat;
			overflow: hidden;
		}
		.box{
			width:1254px; 
			height: 260px; 
			background: red url() 0 0 no-repeat;
		}
		.box li{
			width: 172px;
			height: 260px;
			float: left;
			background-position: center;
		}
		.item1{
			background: #fff url(1.jpg) 0 0 no-repeat;
		}
		.item2{
			background: #fff url(2.jpg) 0 0 no-repeat;
		}
		.item3{
			background: #fff url(3.jpg) 0 0 no-repeat;
		}
		.item4{
			background: #fff url(4.jpg) 0 0 no-repeat;
		}
		.item5{
			background: #fff url(5.jpg) 0 0 no-repeat;
		}
		.item6{
			background: #fff url(6.jpg) 0 0 no-repeat;
		}
		.item7{
			background: #fff url(7.jpg) 0 0 no-repeat;
		}
		
	</style>
	<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
	<script type="text/javascript">
		$(function(){
			$('.box li').hover(function () {

				$(this).stop().animate({'width':"400px"},200).siblings().stop().animate({'width':"134px"},200)
				
			},function(){
				$('.box li').stop().animate({'width':"172px"},200);
			})
		})
	</script>
</head>
<body>
	<div class="out">
		<ul class="box">
			<li class="item1"></li>
			<li class="item2"></li>
			<li class="item3"></li>
			<li class="item4"></li>
			<li class="item5"></li>
			<li class="item6"></li>
			<li class="item7"></li>
		</ul>
	</div>
</body>
</html>